<?php
class MenuWidget extends CWidget
{
    public $is_site = 0;
    public function init()
    {
        parent::init();
    }
    public function run()
    {
        $is_site = $this->is_site;
        $filter['status'] = 1;
        $nav_category=CategoryNav::model()->getList($filter);
        
        $this->render('menu',compact('is_site','nav_category'));
    }
}
?>
